<template>
  <div>
    <p>counter：{{$store.state.counter}}</p>
    <p>students：{{$store.state.students}}</p>
    <p>超过20岁的学生信息：{{$store.getters.more20Stu}}</p>
    <p>超过20岁的学生人数：{{$store.getters.more20StuLenth}}</p>
    <p>超过22岁的学生信息：{{$store.getters.moreAgeStu(22)}}</p>

    <p>info对象信息：{{$store.state.info}}</p>
  </div>
</template>

<script>
  export default {
    name: "HelloWorld"
  }
</script>

<style scoped>

</style>
